package com.qianli.cashmama.trade.openApi.enums;

import com.fqgj.exception.enums.ErrorCodeEnum;
import org.springframework.http.HttpStatus;

/**
 * Created with IntelliJ IDEA.
 * User: sm
 * Date: 2020-11-30
 * Time: 14:43
 */
public enum OpenApiErrorCodeEnum implements ErrorCodeEnum {

    Handler_not_exist(80001,"Handler_not_exist"),
    Wrong_trade_status(80002,"Wrong_trade_status"),
    ;

    private Integer code;
    private String msg;

    OpenApiErrorCodeEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public HttpStatus getHttpStatus() {
        return null;
    }

    @Override
    public Integer getCode() {
        return null;
    }

    @Override
    public String getMsg() {
        return null;
    }
}
